<!-- BEGIN: main -->
<div id="module_show_list">
	{CAT_LIST}
</div>
<div id="cat-delete-area"></div>
<div id="edit">
	<!-- BEGIN: error -->
	<div class="quote" style="width:98%; margin:auto">
		<blockquote class="error"><span>{error}</span></blockquote>
	</div>
	<div class="clear"></div>
	<!-- END: error -->
	<form action="" method="post">
		<input type="hidden" name="catid" value="{DATA.catid}" />
		<input type="hidden" name="parentid_old" value="{DATA.parentid}" />
		<input name="savecat" type="hidden" value="1" />
		<table summary="" class="tab1">
			<caption>{caption}</caption>
			<tbody>
				<tr bgcolor="#EFEFEF">
					<td align="right"><strong>{LANG.catalog_name}</strong></td>
					<td><input style="width: 650px" name="title" type="text" value="{DATA.title}" maxlength="255" /></td>
				</tr>
			</tbody>
			<tbody>
				<tr>
					<td align="right"><strong>{LANG.cat_sub}</strong></td>
					<td>
						<select name="parentid">
							<!-- BEGIN: parent_loop -->
							<option value="{pcatid_i}" {pselect}>{ptitle_i}</option>
							<!-- END: parent_loop -->
						</select>
					</td>
				</tr>
			</tbody>
			<tbody>
				<tr bgcolor="#EFEFEF">
					<td align="right"  width="180px"><strong>{LANG.alias} : </strong></td>
					<td><input style="width: 650px" name="alias" type="text" value="{DATA.alias}" maxlength="255" /></td>
				</tr>
			</tbody>
			<tbody>
				<tr>
					<td align="right"><strong>{LANG.keywords}: </strong></td>
					<td><input style="width: 650px" name="keywords" type="text" value="{DATA.keywords}" maxlength="255" /></td>
				</tr>
			</tbody>
			<tbody>
				<tr>
					<td align="right"><strong>{LANG.description}</strong></td>
					<td>
						<textarea style="width: 650px" name="description" cols="100" rows="5">{DATA.description}</textarea>
					</td>
				</tr>
			</tbody>
			<tbody>
				<tr bgcolor="#EFEFEF">
					<td valign="top" align="right"><br /><strong>{who_view}</strong></td>
					<td>
						<div class="message_body">
							<select name="who_view" id="who_view" onchange="nv_sh('who_view','groups_list')" style="width: 250px;">
								{who_view_html}
							</select><br />
							<div id="groups_list" style="{visibility}">
								{groups_view}
								<table style="margin-bottom:8px; width:250px;">
									<col valign="top" width="150px" />
									<tr>
										<td>
											{groups_list_html}
										</td>
									</tr>
								</table>
							</div>
						</div>
					</td>
				</tr>
			</tbody>
		</table>
		<br />
		<center><input name="submit1" type="submit" value="{LANG.save}"/></center>
	</form>
</div>
<!-- END: main -->